Skip to content

Conversation

@JaynieBai
Copy link
Member

@JaynieBai JaynieBai commented Jun 27, 2023

Fixes 8939

Context

#8870 (comment)

Changes Made

Add a task that returns a custom ITaskItem implementation that has a custom IDictionary type returned from CloneCustomMetadata()
Add unit test TestTaskDictionaryOutputItems()

@JaynieBai JaynieBai marked this pull request as ready for review June 28, 2023 05:51
Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks as a good starting point.
I believe we need to add custom IDictionary implementation and verification of the resulting task output in order to test the fix

@JaynieBai
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JaynieBai JaynieBai requested a review from JanKrivanek July 18, 2023 08:58
Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and I believe addresses @JanKrivanek's concerns.

Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JaynieBai JaynieBai merged commit 6c1bb22 into main Jul 28, 2023
@JaynieBai JaynieBai deleted the jennybai/issue8939 branch July 28, 2023 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicit unit test for KeyValuePair<string, string> metadata

4 participants